/**
 * 用户相关的URL路由
 */

const ChatMessage = () => import( '@/pages/chat/ChatMessage.vue')
const ChatMessageDetail = () => import( '@/pages/chat/ChatMessageDetail.vue')
const CustomerService = () => import( '@/pages/chat/CustomerService.vue' )
const ChatWorkBench = () => import( '@/pages/chat/ChatWorkbench.vue')

let ChatRouters = [
      {
        path:'/chat/chatMessage',
        name:"ChatMessage",
        component:ChatMessage
      },
      {
        path:'/chat/ChatMessageDetail/:userId',
        name: 'ChatMessageDetail',
        component:ChatMessageDetail
      },
      {
        path: '/chat/customerService',
        name: "CustomerService",
        component: CustomerService
      },
    {
      path: '/chat/workbench',
      name: "ChatWorkBench",
      component: ChatWorkBench
    }
];

export default ChatRouters
